package edu.jmu.aspectj.xml;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import edu.jmu.dao.UserDao;

public class TestXMLAspectj {

	public static void main(String[] args) {
		
		String xmlPath = "applicationContextAspectJ.xml";
		ApplicationContext context = new ClassPathXmlApplicationContext(xmlPath);
		UserDao userDao = (UserDao)context.getBean("userDao");
		userDao.save();

	}

}
